<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Yachaycuyay</title>

<?php
            $url=base_url();
            echo "<link rel='STYLESHEET' type='text/css' href='".$url."css/estilos.css' />";
            echo "<link rel='STYLESHEET' type='text/css' href='".$url."css/jquery/screen.css' />";
           // echo "<link rel='STYLESHEET' type='text/css' href='".$url."css/screen.css' />";
            echo "<script src='".$url."dhtmlx/dhtmlx.js' type='text/javascript'></script>";
            echo "<script src='".$url."js/lib/jquery.js' type='text/javascript'></script>";
            echo "<script src='".$url."js/validaRegistro.js' type='text/javascript'></script>";
            echo "<script src='".$url."js/jquery.validate.js' type='text/javascript'></script>";
            echo "<script src='".$url."js/lib/jquery.form.js' type='text/javascript'></script>";



?>

<style type="text/css">
.warning { color: red; }
</style>

<link rel="STYLESHEET" type="text/css" href="<?php echo $url ?>dhtmlx/codebase/dhtmlxtabbar.css">
<script  src="<?php echo $url ?>dhtmlx/codebase/dhtmlxcommon.js"></script>
<script  src="<?php echo $url ?>dhtmlx/codebase/dhtmlxtabbar.js"></script>

<script>
		var ruta="<?php echo $url ?>";
</script>


</head>
<body>
<div id="div_encabezadoLogin" >
Yachaycuyay
</div>
<div id='container'>

<div id='content'>
<div id='col1'>
  <h1>Yachaycuyay, el reto que estabas esperando.... serás capaz de superarlo? </h1>
</div>
<div id='col2'>
<form id="form_login" action="<?php echo base_url(); ?>index.php/user/login" method="post" accept-charset="utf-8">

		  <label  class="login" for="usuario">Usuario
        </label>
		  <input class="login" type="text" name="usuario" id="usuario" value="<?php echo set_value('usuario'); ?>" />

		  <label class="login" for="password">Contraseña</label>

		  <input class="login" type="password" name="password" id="password" />

		  <input  class="login" type="submit" name="entrar" value="ENTRAR" id="entrar" />

    </form>
	<?php echo validation_errors('<div class="error">','</div>') ?>
	<?php if(isset($error)) echo "<div class=\"error\">$error</div>"; ?>




</div>
<div id='tab'>
	<div id="a_tabbar" />
		<script  src="<?php echo $url ?>js/talbar.js"></script>

	</div>

</div>
</div>

<div id='footer'>
<p>Este es el footer, aqui pones información sobre tu página.</p>
</div>
</div>

</body>
</html>